home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / os2tools / testipf / readme.ipf next >
Encoding:
Text File  |  1990-01-20  |  1.9 KB  |  38 lines

  1. Instructions for using SAMPLE.IPF:
  2.  
  3. SAMPLE.IPF is a scripted ASCII file that illustrates some of the
  4. techniques used to put together an Information Presentation Facility
  5. file that can be used with the OS/2 V1.2 VIEW.EXE program.  The
  6. examples illustrate *a* method of displaying the data, but not
  7. necessarily the only method, or even the best way.  Once you see how
  8. to get started you may find a better way to do the same thing.  (If
  9. so, I would appreciate hearing how to do it.  I'm hardly an expert
  10. at this myself!)
  11.  
  12. To compile the file, put it in the same directory as the IPFC compiler,
  13. and type:
  14.                     IPFC /INF SAMPLE.IPF
  15. Without the /INF parameter the end-result will be a file with an .HLP
  16. extension, rather than an .INF extension.  This .HLP file will NOT
  17. work with VIEW.EXE.  You will have to recompile it WITH the /INF
  18. parameter (note the FOREslash, not backslash).
  19.  
  20. To view the file, simply type VIEW SAMPLE.INF.  This can be added to
  21. a menu, just the same as the online OS/2 Command Reference (simply
  22. use a different title and file name). I recommend putting the INF file
  23. into the C:\OS2\BOOK directory where the path already looks for the
  24. OS/2 Command Reference file.  That saves you having to specify a path
  25. for the file, regardless of where you are when you start VIEW.
  26.  
  27. I don't know of any way to get the compiler to put a title on the 
  28. Title Bar (which is also used as the icon title).  However, if you 
  29. have a DOS or OS/2 hex editor (such as IBM's Professional Debug),
  30. you can manually insert a title into the COMPILED (INF) file.  Addresses
  31. from 6B through (I believe) 99 are used for the title.
  32.  
  33. Two final notes: 1) Make sure you close the VIEWed file before compiling.
  34. If the file is being used it cannot be compiled.  The same goes for 
  35. editing the file with a hex editor.  Make sure to close it before editing.
  36.  
  37. I hope this helps.  Good luck.  Mark Chapman, IBM Corp. (IBM PCUG BBS
  38. 404-988-2790; 300-9600 baud, N,8,1)